﻿using System.Collections.Generic;
using System.Linq;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Imaging;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Windows.Data.Json;

namespace NotWindowsStoreMetro
{
    public class StoreCategory : StoreApp, IGroupInfo
    {
        public Object Key
        {
            get { return this; }
        }

        private List<StoreApp> _itemCollection = new List<StoreApp>();

        public void Add(StoreApp item)
        {
            _itemCollection.Add(item);
        }

        public IEnumerator<Object> GetEnumerator()
        {
            return _itemCollection.GetEnumerator();
        }

        System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
        {
            return GetEnumerator();
        }
    }
}
